/*
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2, or (at your option)
 * any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 * 02111-1307, USA.
 *
 * http://www.gnu.org/copyleft/gpl.html
 */
package l1j.server.server.templates;

import java.util.ArrayList;

public class L1TeleporterPrices {

	int ID;

	int NPCID;

	int AMOUNT;

	private final ArrayList _PRICE = new ArrayList();

	/**
	 * @return Returns the aMOUNT.
	 */
	public int getAMOUNT() {
		return AMOUNT;
	}

	/**
	 * @param amount
	 *            The aMOUNT to set.
	 */
	public void setAMOUNT(int amount) {
		AMOUNT = amount;
	}

	/**
	 * @return Returns the iD.
	 */
	public int getID() {
		return ID;
	}

	/**
	 * @param id
	 *            The iD to set.
	 */
	public void setID(int id) {
		ID = id;
	}

	/**
	 * @return Returns the nPCID.
	 */
	public int getNPCID() {
		return NPCID;
	}

	/**
	 * @param npcid
	 *            The nPCID to set.
	 */
	public void setNPCID(int npcid) {
		NPCID = npcid;
	}

	/**
	 * add starter equipment
	 * 
	 * @param i
	 */
	public void addItem(int itemId) {
		_PRICE.add(new Integer(itemId));
	}

	/**
	 * 
	 * @return itemIds of all the starter equipment
	 */
	public Integer[] getItems() {
		return (Integer[]) _PRICE.toArray(new Integer[_PRICE.size()]);
	}
}
